<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<div id="div1" class="adiv1"></div>
		<div id="div2" class="adiv1"></div>
		<div id="div3" class="adiv1" >
			<p id="p1" class="adiv1">1</p>
			<p id="p2" class="adiv1">2</p>
			<p id="p3" class="adiv1">3</p>
			<p id="p4" class="adiv1">4</p>
			<p id="p5" class="adiv1">5</p>
		</div>
		<h1 id="h1" class="adiv1">a1</h1>
		<img id="img1" class="adiv1" src="" >
		<ul id="ul1" class="adiv1">
			<li>zzbbcc</li>
			<li>zzzbbbccc</li>
		</ul>
	</body>
	<script type="text/javascript">
		// 2.新制作一个页面，要求：
		//        2.1 至少包含以下元素：3个DIV,标题，5个P标签，图片，列表 
		//        2.2 分别实现 id,类，标签三种方式查找以上元素
		var id1 =document.getElementById('div1');
		console.log(id1)
		var p1 =document.getElementById('div3');
		console.log(p1)
		var h1 =document.getElementById('h1');
		console.log(h1)
		var ul1 =document.getElementById('ul1');
		console.log(ul1)
		//////////////
		var obj2 =document.getElementsByClassName('adiv1')
		console.log(obj2)
		/////////////
		var obj3 =document.getElementsByTagName('div')
		console.log(obj3)
	</script>
</html>
